package net.hn.hnms.biz.api.safety.water.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 智呈物联 pan'sx
 * 2022/7/28 16:10
 * 1.0 version
 */
@ApiModel("水害预警 - 风险评估")
@Data
public class RiskAssessmentVo {
    @ApiModelProperty("涌水系统")
    private BigDecimal gush;
    @ApiModelProperty("电法系统")
    private BigDecimal electrical ;
    @ApiModelProperty("水文系统")
    private BigDecimal hydrology ;

    @ApiModelProperty("排水系统")
    private BigDecimal drainage ;
    @ApiModelProperty("诊断数")
    private int diagnoses;

    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("扣分问题集合")
    private List<Problem> problems;

    @Data
    class Problem{
        @ApiModelProperty("问题名称")
        private String name;
        @ApiModelProperty("数量")
        private int number;
        @ApiModelProperty("扣分")
        private BigDecimal deduct;
    }

}
